<?php
/**
 * Created by PhpStorm.
 * User: mr.lee
 * Date: 2018/7/5
 * Time: 下午12:32
 */

namespace app\macht\controller;


use app\common\model\Notice;
use think\Controller;

class Pub extends Controller
{
    public function getnoticeinfo()
    {
        if (request()->isAjax()) {
            $map['id'] = request()->post('id');
            $Notice = new Notice();
            $noticeinfo = $Notice->where($map)->find();
            return json($noticeinfo);
        }


    }

}